/*
 * @Author: 陈俊升 761723995@qq.com
 * @Date: 2023-11-02 16:05:36
 * @LastEditors: 陈俊升 761723995@qq.com
 * @LastEditTime: 2023-11-02 16:05:53
 * @FilePath: /hr_new_vue3/src/apis/management/personnel/changeManagement/confirmManagement/index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/* 人员 人事管理-转正管理api */

import { ajaxService } from '@/utils/request';

const env = import.meta.env;
// const baseURL1 = env.VITE_API_BASE_URL;
const baseURL1 = env.VITE_DEV_BASE_URL;
const baseURL = env.VITE_DEV_BASE_URL;

/**
 * 转正列表修改审批状态
 */
export function GetProbationList(data: { id: number; type: number }) {
  return ajaxService({
    url: '/hr/personnel_matters/roster/formal/status',
    method: 'put',
    data,
    baseURL: baseURL
  });
}
